#!/usr/bin/js

var JavaCalendar = java.util.GregorianCalendar;

var calendar=JavaCalendar();


print("YEAR: " + calendar.get(JavaCalendar.YEAR));
print("MONTH: " + calendar.get(JavaCalendar.MONTH));
print("WEEK_OF_YEAR: " + calendar.get(JavaCalendar.WEEK_OF_YEAR));
print("WEEK_OF_MONTH: " + calendar.get(JavaCalendar.WEEK_OF_MONTH));
print("DATE: " + calendar.get(JavaCalendar.DATE));
print("DAY_OF_MONTH: " + calendar.get(JavaCalendar.DAY_OF_MONTH));
print("DAY_OF_YEAR: " + calendar.get(JavaCalendar.DAY_OF_YEAR));
print("DAY_OF_WEEK: " + calendar.get(JavaCalendar.DAY_OF_WEEK))

